package ae.pcfc.cldos.online.common.delegate.provider;

import ae.pcfc.cldos.online.common.delegate.BaseDelegate;
import ae.pcfc.cldos.online.common.delegate.GsIntegrationDelegate;
import ae.pcfc.cldos.online.common.exception.NoOnlineClientException;
import ae.pcfc.cldos.online.common.facade.GsIntegrationFacade;
import ae.pcfc.cldos.online.common.vo.AppMetaDataVO;
import ae.pcfc.cldos.online.common.vo.employee.details.EmployeeDetailsVO;

/**
 * 
 * @author arosa
 *
 */
public class GsIntegrationDelegateImpl extends BaseDelegate implements GsIntegrationDelegate {

	public void startTask(AppMetaDataVO appMetaDataVO,
			EmployeeDetailsVO employeeDetailsVO) {
		getServiceLocator().getFacadeService(GsIntegrationFacade.class).startTask(appMetaDataVO, employeeDetailsVO);
	}
	
	public Long getOnlineApplicationId(AppMetaDataVO appMetaDataVO) throws NoOnlineClientException{
		return getServiceLocator().getFacadeService(GsIntegrationFacade.class).getOnlineApplicationId(appMetaDataVO);
	}

}
